body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(220, 240, 220);
    font-family: system-ui;
}

.outer {
    display: flex;
    flex-direction: column;
    padding: 10px;
    height: 100vh;
}

a {
    text-decoration: none; /* 去掉下划线 */
    color: black; /* 设置链接颜色 */
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    width: 100%;
    height: 100%;
}

.menu {
    display: flex;
    cursor: pointer;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-around;
    font-size: 12px;
    height: 50px;
    min-height: 50px;
    padding: 10px;
    background-color: #E3F9E7;
    border-radius: 10px; /* 设置圆角半径 */
    overflow: hidden; /* 确保子元素不会溢出圆角边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-hover-color {
    flex: 1;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    margin-left: 5px;
    margin-right: 5px;
    background-color: #E3F9E7;
    color: black;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.menu-hover-color:hover {
    background-color: white;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.selected-ones {
    flex: 1;
    height: 100%;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: box-shadow 0.4s ease;
}

.space {
    height: 50px;
    min-height: 50px;
}

.navigation {
    display: flex;
    flex-flow: column wrap;
    flex: 1;
}

.navigation2 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    flex: 1;
    gap: 20px;
}

.navigation2 div {
    flex: 1;
}

.space2 {
    height: 20px;
    min-height: 20px;
}

.space3 {
    height: 100px;
    min-height: 100px;
}

.navigation3 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    flex: 1;
    gap: 20px;
}

.navigation3 div {
    flex: 1;
}

.navigation-hover-color {
    flex: 1;
    height: 100%;
    border-radius: 10px; /* 设置圆角半径 */
    overflow: hidden; /* 确保子元素不会溢出圆角边框 */
    background-color: #E3F9E7;
    color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease, transform 0.4s ease; /* 添加背景颜色和缩放的过渡效果 */
}

.navigation-hover-color:hover {
    background-color: white;
    transform: scale(1.04); /* 鼠标悬停时放大 */
}

.home-navigation-outer {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 60px;
}

.comm-taskbar-outer {
    padding: 20px;
}

/* 隐藏默认的文件输入框 */
input[type="file"] {
    display: none;
}

.comm-file-upload-inner {
    display: flex;
    flex-direction: column; /* 改为列方向布局 */
    padding: 4%;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    background-color: #E3F9E7;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 自定义按钮样式 */
.custom-file-upload {
    display: flex;
    width: 200px;
    height: 40px;
    padding: 20px;
    cursor: pointer;
    background-color: forestgreen;
    color: white;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 20px;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    transition: background-color 0.4s ease;
}

.custom-file-upload:hover {
    background: darkgreen;
}

.custom-file-upload:active {
    background-color: rgb(0, 70, 0)
}

.file-upload-text {
    margin-top: 20px; /* 添加一些上边距 */
    color: gray;
    font-size: 16px;
    cursor: default;
}

.hint {
    display: flex;
    justify-content: flex-end; /* 水平对齐到右侧 */
    align-items: flex-end; /* 垂直对齐到底部 */
}

.pti-settings {
    display: flex;
    align-items: center;
}

.pti-settings img {
    margin-right: 8px; /* 图片和文字之间添加一些间距 */
}

.pti-settings-fieldset {
    margin-left: 20px;
    margin-top: 10px;
    border: none;
}

form {
    cursor: pointer;
    background-color: #E3F9E7;
    padding: 20px;
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease, transform 0.4s ease;
}

form:hover {
    background: white;
    transform: scale(1.01)
}

fieldset {
    border: none;
    margin-bottom: 20px;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.legend-span {
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

/*.radio-container {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    margin-bottom: 12px;*/
/*}*/

/* 隐藏默认单选按钮 */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    transition: border-color 0.4s ease; /* 添加边框颜色的过渡效果 */
}

/* 设置未选中状态的样式 */
input[type="radio"]::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.4s ease; /* 添加背景颜色的过渡效果 */
}

/* 设置选中状态的样式 */
input[type="radio"]:checked::before {
    background-color: green;
}

/* 设置选中状态的内部圆圈 */
input[type="radio"]:checked::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: green;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.4s ease, width 0.4s ease, height 0.4s ease; /* 添加背景颜色和大小的过渡效果 */
}

/* 设置悬停状态的边框颜色 */
input[type="radio"]:hover {
    border-color: #888;
}

/* 设置单选按钮和标签的容器样式 */
.radio-container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

/* 设置问题按钮的样式 */
.info-circle {
    display: flex;
    width: 24px; /* 圆圈的宽度 */
    height: 24px; /* 圆圈的高度 */
    border-radius: 50%; /* 使其成为圆形 */
    color: black; /* 字体颜色 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    margin-left: 8px; /* 圆圈与文本之间的间距 */
    font-weight: bold; /* 字体加粗 */
    cursor: pointer; /* 鼠标悬停时显示为手型 */
    background-color: #E3F9E7;
    transition: background-color 0.4s ease;
}

.info-circle:hover {
    background-color: white;
}

/* 定义弹窗出现和消失的动画 */
@keyframes modalScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalScaleOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* 修改模态框的样式 */
.modal {
    display: none;
    position: fixed;
    cursor: default;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* 应用弹出动画 */
.modal.show {
    opacity: 1;
}

/* 应用消失动画 */
.modal.hide {
    opacity: 0;
}

.modal-content {
    display: flex;
    flex-flow: column;
    background-color: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 300px; /* 弹出框宽度 */
    justify-content: center; /* 水平居中 */
}

.modal.show .modal-content {
    opacity: 1;
    pointer-events: auto;
    animation: modalScaleIn 0.4s forwards;
}

.modal.hide .modal-content {
    animation: modalScaleOut 0.4s forwards;
}

.close {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: forestgreen;
    background-color: #E3F9E7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    width: 100px;
    height: 50px;
    margin: 0 auto;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.close:hover {
    color: white;
    background-color: forestgreen;
}

.close:active {
    background-color: rgb(0, 80, 0)
}

/* 隐藏增减按钮 */
input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
    outline: none;
}

input {
    outline: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none; /* Chrome 和 Safari */
    outline: none;
    margin: 0; /* 去掉默认的 margin */
}


.radio-container label {
    margin-left: 2px;
    vertical-align: middle;
    cursor: pointer;
}

.input-box-settings {
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    width: 150px;
    height: 40px;
    cursor: pointer;
    transition: border 0.4s ease;
}

.input-box-settings:hover {
    border: 2px solid green;
}

/* 输入框获得焦点时的边框 */
.input-box-settings:focus {
    border: 2px solid green; /* 输入框获得焦点时的边框颜色 */
}

.comm-modal-title {
    display: flex;
    flex-flow: column;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
    align-items: center;
}

/* 转换按钮的样式 */
.button-style1 {
    display: flex;
    width: 240px;
    height: 80px;
    cursor: pointer;
    background-color: forestgreen;
    color: white;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 20px;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    transition: background-color 0.4s ease;
}

.button-style1:hover {
    background-color: darkgreen;
}

.button-style1:active {
    background-color: rgb(0, 70, 0)
}

.pti-download-path-settings {
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    width: 150px;
    height: 40px;
    cursor: pointer;
    transition: border 0.4s ease;
    outline: none;
}

.itp-nested-fieldset {
    display: flex;
}

.develop-outer {
    flex: 1;
    display: flex;
    padding: 80px;
}

.develop {
    flex: 1;
    border-radius: 10px; /* 设置圆角半径 */
    overflow: hidden; /* 确保子元素不会溢出圆角边框 */
    background-color: #E3F9E7;
    color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease, transform 0.4s ease; /* 添加背景颜色和缩放的过渡效果 */
}

.develop:hover {
    background-color: white;
    transform: scale(1.08); /* 鼠标悬停时放大 */
}

.about {
    display: flex;
    cursor: default;
    background-color: rgb(60, 60, 60);
    height: 70px;
    color: white;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.about-img {
    margin-right: 40px;
}

.space4 {
    margin-right: 10px;
}

/* 隐藏原始的checkbox */
.switch input {
    display: none;
}

/* 开关按钮的容器 */
.slider {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    background-color: gray; /* 关闭时背景颜色 */
    border-radius: 34px;
    cursor: pointer;
    transition: background-color 0.4s; /* 添加背景颜色过渡效果 */
}

/* 滑块 */
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white; /* 关闭时滑块颜色 */
    border-radius: 50%;
    transition: 0.4s; /* 滑块移动过渡效果 */
}

/* 当checkbox被选中时，改变滑块的位置和背景颜色 */
input:checked + .slider:before {
    transform: translateX(26px); /* 滑块移动到另一边 */
}

/* 当checkbox被选中时，背景颜色变为forestgreen */
input:checked + .slider {
    background-color: forestgreen;
}

.checkbox-container {
    display: flex;
    align-items: center;
}